#ifndef QTIMEEDITEDITOR_H
#define QTIMEEDITEDITOR_H

#include "qabstractpropertyeditor.h"

#include <QTimeEdit>
#include <QDateEdit>
#include <QDateTimeEdit>

class QAbstractProperty;

class PROPERTY_EDITORSHARED_EXPORT QTimeEditEditor : public QAbstractPropertyEditor
{
    Q_OBJECT
public:
    Q_INVOKABLE QTimeEditEditor(QAbstractProperty* pro,QWidget *parent = 0);

signals:

protected slots:
    void    value_changed();
    void    property_value_changed();
protected:
    QTimeEdit   *m_time_edit;
};

class PROPERTY_EDITORSHARED_EXPORT QDateEditEditor : public QAbstractPropertyEditor
{
    Q_OBJECT
public:
    Q_INVOKABLE QDateEditEditor(QAbstractProperty* pro,QWidget *parent = 0);

signals:

protected slots:
    void    value_changed();
    void    property_value_changed();
protected:
    QDateEdit   *m_date_edit;
};


class PROPERTY_EDITORSHARED_EXPORT QDateTimeEditEditor : public QAbstractPropertyEditor
{
    Q_OBJECT
public:
    Q_INVOKABLE QDateTimeEditEditor(QAbstractProperty* pro,QWidget *parent = 0);

signals:

protected slots:
    void    value_changed();
    void    property_value_changed();
protected:
    QDateTimeEdit   *m_datetime_edit;
};

#endif // QTIMEEDITEDITOR_H
